cmake_minimum_required(VERSION 3.7)
project(mysqlpool)

set(CMAKE_C_STANDARD 99)

set(SOURCE_FILES main.c mysqlpool.h)


INCLUDE_DIRECTORIES(${INC_DIR} /usr/include/mysql)


add_executable(mysqlpool ${SOURCE_FILES})

target_link_libraries(mysqlpool mysqlclient pthread)